<input id="hidval" type="hidden" value="0"/>
<div class="float_car">
    <!--<div class="cart-0" ng-click="float_show()">
        <img src="images/goods/cart-0.png">
        <span class="order-numbers">{{goodscontent.count}}</span>
    </div>
    <span class="cart-mony">{{goodscontent.totalprice | number:2}}&nbsp元</span>-->
    <div class="concern-cart">
        <div class="dong-dong-icn J_ping cart-0" id="imBottom" ng-click="float_show()">
            <em class="btm-act-icn">
                <i class="order-numbers" ng-show="goodscontent.count>0">{{goodscontent.count}}</i></em>
            <span class="focus-info">
                清单
            </span>
        </div>
        <!--<div class="love-heart-icn J_ping" id="payAttention">-->
        <!--<div class="focus-container" id="focusOn">-->
        <!--<i class="bottom-focus-icon focus-out" id="attentionFocus"></i>-->
        <!--<span class="focus-info">收藏</span>-->
        <!--</div>-->
        <!--</div>-->
        <div class="cart-car-icn" ui-sref="mall.shopcart.impl">
            <em class="btm-act-icn">
            </em>
            <span class="focus-info">购物车</span>
        </div>
    </div>
    <div class="buy_way">
        <div class="add-to-cart into_car" ng-click="addToCart()">加入购物车</div>
        <div class="buy-now into_car" ng-click="buyNow()">立即购买</div>
    </div>
    <div id="demo" class="demo">
        <div class="background_hide"></div>
        <div class="float_store">
            <div class="float_icon">
                <div class="glyphicon glyphicon-calendar"><i>本店清单</i></div>
                <div class="glyphicon glyphicon-trash" ng-click="sure_clean()">
                    <i>清空</i>
                </div>
            </div>
            <ul id="float_more">
                <li ng-repeat="goods in shopbuygoods">
                    <div class="float_div">
                        <span class="float_word">{{goods.title}}</span>
                        <span class="float_store_1">计&nbsp{{goods.price*goods.num | number:2}}&nbsp元</span>
                        <div class="float_plus {{goods.cid}}" ng-click="add(goods.cid,goods.goodsid)">
                            +
                        </div>
                        <span class="float_number">{{goods.num}}</span>
                        <div class="float_minus" ng-click="remove(goods.cid,goods.goodsid)">
                            -
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>

<div class="model_title_goods">
    <div class="row">
        <a ng-click="go_back()">
            <span class="glyphicon glyphicon-chevron-left"></span>
        </a>
        <div class="text-center">
            <h class="title">{{shopname}}</h>
        </div>
        <a ng-href="{{mall_enturl}}">
            <span class="glyphicon glyphicon-home"></span>
        </a>
    </div>
</div>
<div class="goods_center">
    <div class="goods_center_left" id="goods_info">
        <ul class="nav nav-tabs" id="goods_info_ul">
            <li class="center_left" ng-repeat="goods in goods_list" role="presentation" id="good{{goods.cid}}">
                <a ng-href="/#goods{{goods.cid}}" aria-controls="goods{{goods.cid}}" role="tab" data-toggle="tab">
                    <span>{{goods.name}}</span>
                </a>
            </li>
        </ul>
    </div>

    <div class="goods_center_right" id="goods_list">
        <div class="tab-content" id="goods_type_list">
            <div role="tabpanel" class='tab-pane' id="goods{{goods.cid}}" ng-repeat="goods in goods_list"
                 repeat-finish="renderFinish()">
                <ul class="food_list">
                    <li ng-repeat="good in goods.goods">
                        <div class="food_content_border">
                            <div class="food_content" ui-sref="detail({shopid:shopid,goodsid:good.goodsid})">
                                <div class="food_pic_wrap">
                                    <img ng-src="{{good.logo ? good.logo : 'images/food.jpg'}}" class="food_pic"/>
                                </div>
                                <div class="food_name">
                                    <div class="shop_num">
                                        <div class="foodname">{{good.title}}</div>
                                    </div>
                                    <div class="postage">
                                        {{good.description}}
                                    </div>
                                </div>
                            </div>
                            <div class="food-price-region">
                                <span class="food-price">¥{{good.price}}元/{{good.unit}}</span>
                                <div class="foodop">
                                    <img ng-src="{{good.logo ? good.logo : 'images/food.jpg'}}"
                                         style="display: none"/>
                                    <a class="add orange">
                                        <div ng-click="add(goods.cid,good.goodsid)">+</div>
                                    </a>
                                    <input type="number" class="foodop-num" ng-model="good.num"
                                           ng-change="buy_change(goods.cid,good.goodsid,good.num)"
                                           ng-blur="input(goods.cid,good.goodsid,good.num)">
                                    <div class="remove" ng-show="good.num>0"
                                         ng-click="remove(goods.cid,good.goodsid)">
                                        -
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="contain-item">
    <div class="contain-detail">
        <div class="contain-text">
            <div class="contain-text1">是否清空？</div>
        </div>
        <div class="contain-choose">
            <button class="contain-no">否</button>
            <button class="contain-yes" ng-click="cleaning()">是</button>
        </div>
    </div>
    <div class="contain-back"></div>
</div>
<div class="c-float-popWrap msgMode">
    <div class="pop-mask"></div>
    <div class="c-float-modePop">
        <div class="warnMsg">
        </div>
    </div>
</div>